package com.luo.simple.service;


import com.luo.simple.entity.User;
import com.luo.simple.entity.UserExample;
import com.luo.simple.entity.result.Result;
import com.luo.simple.parms.webParms.UserLoginParm;
import com.luo.simple.parms.webParms.UserParm;

import java.util.List;


public interface UserService {

    Result registerUser(UserParm userParm);

    User selectByPrimaryKey(String userId);

    List<User> queryUserByPhone(String phone);

    List<User> queryAllUser(UserExample example);

    Result loginUser(UserLoginParm userLoginParm);
}
